package com.franklin.java.api.mybatis.dom.model.nested;

import com.intellij.util.xml.Attribute;
import com.intellij.util.xml.GenericAttributeValue;
import com.intellij.util.xml.Required;
import com.intellij.util.xml.SubTagList;


/**
 * @author Franklin
 * @since 2021/08/21 00:06
 */
public interface Foreach extends Nested{

    @Required
    @Attribute("collection")
    GenericAttributeValue<String> getCollection();

    @Attribute("item")
    GenericAttributeValue<String> getItem();

    @Attribute("index")
    GenericAttributeValue<String> getIndex();

    @Attribute("open")
    GenericAttributeValue<String> getOpen();

    @Attribute("separator")
    GenericAttributeValue<String> getSeparator();

    @Attribute("close")
    GenericAttributeValue<String> getClose();

}
